package online.foxnull2.foxmall.oss.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "foxmall.oss")
public class BucketProperties {
    private String bucket;

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    @Value("${alibaba.cloud.oss.endpoint}")
    private String endpoint;

    @Value("${alibaba.cloud.access-key}")
    private String accessid;

    public String getEndpoint() {
        return endpoint;
    }

    public String getAccessid() {
        return accessid;
    }
}
